provider: add Avian as a new LLM provider#1541
Open
avianion wants to merge 1 commit intoPortkey-AI:mainfrom
Open
provider: add Avian as a new LLM provider#1541avianion wants to merge 1 commit intoPortkey-AI:mainfrom
avianion wants to merge 1 commit intoPortkey-AI:mainfrom
Conversation
Add Avian (https://avian.io) as a new OpenAI-compatible provider. Avian provides access to multiple LLM models through a unified OpenAI-compatible API at https://api.avian.io/v1, supporting chat completions, streaming, and function calling. Available models: - deepseek/deepseek-v3.2 (164K context) - moonshotai/kimi-k2.5 (131K context) - z-ai/glm-5 (131K context) - minimax/minimax-m2.5 (1M context) Auth: Bearer token via API key.
Author
|
Hi @VisargD @roh26it @vrushankportkey — this PR adds Avian (https://avian.io) as a new OpenAI-compatible provider. It follows the existing open-ai-base pattern used by other providers. Would love your review when you get a chance! |
Author
Author
Author
|
Hey @VisargD @narengogi — friendly follow-up on this PR. Avian is an OpenAI-compatible inference provider that's already live and powering apps like ISEKAI ZERO. This is a lightweight integration (standard OpenAI-compatible endpoint) and we're happy to address any feedback or make adjustments. Would love to get this merged if you have a moment to review. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
https://api.avian.io/v1AVIAN_API_KEY)deepseek/deepseek-v3.2— 164K context, 65K max outputmoonshotai/kimi-k2.5— 131K context, 8K max outputz-ai/glm-5— 131K context, 16K max outputminimax/minimax-m2.5— 1M context, 1M max outputFiles changed:
src/providers/avian/api.ts— API config (base URL, auth headers, endpoint routing)src/providers/avian/chatComplete.ts— Stream chunk transform for SSE streamingsrc/providers/avian/index.ts— Provider config usingopen-ai-basehelperssrc/globals.ts— AddedAVIANconstant and registered inVALID_PROVIDERSsrc/providers/index.ts— RegisteredAvianConfigin the providers mapTests Run/Test cases added:
npx tsc --noEmit— no avian-related errors)npm run build)node start-test.js)Type of Change: